@import '../../../res/theme/xxhz.scss';

.after-coupon {
  margin-left: 6px;
}

.hasGroupDetail, .noGroupDetail {
  font-size: 30px;
  height: 90px;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* #ifdef tt */
.tt-capsules {
  .end {
    border-radius: 64px !important;
  }
}

/* #endif */

.placeDisabled {
  .top, .bottom {
    color: white !important;
  }

  pointer-events: none !important;
  background-color: #cdcdcd !important;
}

.scenic-choiceInfo {
  padding-bottom: calc(env(safe-area-inset-bottom) + 120px) !important;
}

.hasGroupDetail {
  width: 100%;
  border-radius: 64px 0 0 64px;
}

.capsules-right {
  width: 50% !important;
}

.btn-box-right {
  width: 60%;
  padding-right: 30px;
}

.noGroupDetail {
  width: 60% !important;
  border-radius: 64px !important;
}

.end.limited.noGroupDetail.noGroupDetail-right {
  width: inherit !important;
  border-radius: 0 64px 64px 0 !important;
  color: #fff;
}

.no-sale {
  .goto-buy-btn {
    width: 100%;
    border-radius: 64px !important;
  }
}

.right-btn-box-border-r {
  justify-content: flex-end;
}

.right-btn-box {
  width: 60%;
  display: flex;
  padding-right: 30px;

  .box-wrapper-groupDetail {
    width: 100% !important;
  }

  .box-wrapper {
    width: 50%;

    .capsules {
      height: 100%;
    }
  }
}

.group-type-list {
  width: 100%;
  border-bottom: 1Px solid #f7f7f7;
  border-top: 1Px solid #f7f7f7;
  padding: 20px 0 10px;
  margin-top: 10px;

  .group-type {
    font-size: 30px;
    margin-bottom: 16px;
    color: #000000;
  }
}

.limit-choice-specs {
  .group-type-list {
    border: none !important;
    padding-top: 0 !important;
  }
}

/* #ifdef tt */

.snap-up-now {
  background: #fe2c55;
  border-radius: 4Px;
  font-size: 18Px;
  color: #fff;
  width: 160Px;
  height: 48Px;
  text-align: center;
  line-height: 48Px;
  margin: auto 25Px auto auto;
}

.right-btn-box {
  padding-right: 0 !important;

  button {
    padding: 0 !important;
  }
}

.tt-service-box {
  width: calc(100% - 185Px) !important;
}

.un-sale {
  opacity: 0.75
}

/* #endif */

.detailBar {

  .product-capsules {
    .limit {
      border-radius: 0 64px 64px 0;
      flex-direction: column;
    }

    .share {
      color: #000;
      flex-direction: column;
    }
  }

  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  display: flex;
  align-items: center;
  z-index: 999;
  background-color: #fff;
  padding-bottom: env(safe-area-inset-bottom);
  height: 120px;
  box-shadow: inset 0 2px 0 rgba(0, 0, 0, 0.05);

  .service-box {
    width: 40%;
    display: flex;
    align-items: center;
    box-sizing: border-box;

    .goto-car {
      width: 80px;
      height: 100px;
      text-align: center;

      text, .taro-text {
        font-size: 24px;
        color: #666;
      }

      .ibox {
        padding-top: 10px;
      }
    }

    .no-kefu {
      width: 80px !important;
    }

    .share {
      margin-top: 8px;
      width: 80px;
      height: 100px;
      text-align: center;

      text, .taro-text {
        font-size: 24px;
        color: #ca0000;
      }

      .ibox {
        padding-top: 10px;
      }
    }

    .share-text {
      color: #565656;
      line-height: 1;
    }

    .service-item {
      color: #565656;
      text-align: center;
      display: flex;
      flex-direction: column;
      align-items: center;
      width: 50%;
      height: 100%;
      justify-content: center;
      padding: 24px 0;
      padding-bottom: 18px;
      box-sizing: border-box;

      .kefu-img {
        width: 38px !important;
        margin-left: 8px;
      }

      .home, .kefu {
        width: 48px;
        height: 64%;
      }

      .text {
        white-space: nowrap;
        font-size: 12Px;
      }

      .img {
        display: block;
        width: 100%;
        height: 100%;
      }
    }

    &.h5 {
      .goto-car, .share, .no-kefu {
        .ibox {
          padding-top: 0;
        }
      }

      .service-item {
        .text {
          white-space: nowrap;
          line-height: 1.4;
        }
      }
    }
  }

  .product-btn-box {
    width: 90% !important;
    margin: 0 auto;
    padding-right: 0 !important;
  }

  .btn-box {
    font-size: 32px;
    color: white;
    white-space: nowrap;
    height: 100%;
    text-align: center;
    display: flex;
    justify-content: flex-end;
    align-items: center;

    .capsules {
      width: 100%;
      height: 90px;
      display: flex;
      align-items: center;
      margin-bottom: inherit;
      justify-content: center;

      .no-radius {
        border-radius: 64px !important;
      }

      .share, .limited {
        display: flex;
        height: 94px;
        padding: 0 46px;
        align-items: center;
        justify-content: center;
        width: 100%;
        flex-direction: column;
      }

      .share {
        border-radius: 64px 0 0 64px;
        background: #ffdd09;

        .top {
          color: #000;
        }

        .bottom {
          color: #464206;
        }
      }

      .limited {
        border-radius: 0 64px 64px 0;
        background: #fb5229;

        .top {
          color: #fff;
        }

        .bottom {
          color: #fff;
        }
      }

      .top {
        font-size: 30px;
      }

      .bottom {
        font-size: 22px;
      }

      .dollar {
        font-size: 18px;
      }

      .true-price {
        font-size: 24px;
      }
    }

    .get-poster-btn {
      width: 50%;
      background-color: $color-brand;
      height: 100%;
      display: flex;
      justify-content: center;
      align-items: center;
    }

    .goto-buy-btn {
      width: 50%;
      background-color: $color-price;
      height: 100%;
      display: flex;
      justify-content: center;
      align-items: center;
    }

    .goto-car-btn {
      width: 50%;
      background-color: #fe9f00;
      height: 100%;
      display: flex;
      justify-content: center;
      align-items: center;
    }

    .goto-d-btn {
      width: 50%;
      background-color: #999;
      height: 100%;
      display: flex;
      justify-content: center;
      align-items: center;
    }

    .end {
      background-color: #999999;
    }
  }
}

.othercar, .labelCar {
  box-shadow: 0 -1px 10px rgba(0, 0, 0, 0.01);
  z-index: 99999;
}

.othercar {
  border-top: none;
}

.labelCar {
  height: 100px;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 999999;
  padding-bottom: env(safe-area-inset-bottom);
}

.label-car-btn {
  background: #ca0000;
  color: #fff;
  font-size: 26px;
  height: 100px;
  line-height: 100px;
  display: block;
  text-align: center;
  float: right;
  width: 100%;
}

//.at-float-layout{
//  position: relative;
//}
::-webkit-scrollbar {
  width: 0;
  height: 0;
  color: transparent;
}

.detailBar {
  border-top: solid 1Px #f8f8f8;

  .choiceInfo-top {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 99;
    background: #fff;
    display: flex;
    padding-top: 12px;
    justify-content: space-between;
    padding-bottom: 40px;
    border-bottom: 1Px solid #f7f7f7;

    .left-img {
      width: 210px;
      height: 172px;
      background: #f8f8f8;
      border-radius: 16px;
    }

    .team-right-info {
      display: flex;
      flex-direction: column;
      justify-content: flex-end;
    }

    .right-info {
      width: 400px;
      line-height: 1.6;

      .price-box-price-stock {
        color: #797a7d;

        .stock {
          color: #797a7d;
          font-size: 22px;
        }

        .symbol-price {
          font-family: Avenir;
          color: #797a7d;
          font-size: 24px;
          text-decoration: line-through;

          .symbol {
            color: #797a7d;
            font-size: 20px;
          }

          .price {
            color: #797a7d;
          }
        }
      }

      .price {
        font-size: 26px;
        color: #ff3e01;

        .p-t-price {
          display: flex;
          align-items: center;

          .p-t-symbol-price {
            font-size: 36px;
            color: $color-price;
            font-family: Avenir;
          }

          .p-t-symbol-price-after-discount {
            margin-left: 6px;
          }

          .symbol {
            font-size: 20px;
          }

          .p-t-price-truth {
            color: #fff;
            background: #ff4b10;
            font-size: 20px;
            border-radius: 64px;
            padding: 2px 12px;
            margin-left: 10px;
          }
        }

        text, .taro-text {
          font-size: 26px;
        }

        .new-price {
          font-size: 32px;
          margin-right: 20px;
        }
      }

      .stock {
        font-size: 26px;
        color: #333333;
        line-height: 1.7;
      }

      .selected {
        font-size: 26px;
        color: #888888;

        text, .taro-text {
          color: #333;
        }
      }
    }

    .close-btn {
      display: flex;
      align-items: flex-start;
      justify-content: center;
    }
  }

  .choiceInfo {
    padding: 12px 7px env(safe-area-inset-bottom);
    padding-bottom: 100px;

    .choice-specs-list-other-bar {
      padding-bottom: env(safe-area-inset-bottom);
    }

    .choice-specs {
      .choice-specs-title {
        padding: 38px 0 26px;
        font-size: 26px;
        color: #333;
        font-weight: bold;
      }

      .choice-specs-list {
        flex-wrap: wrap;
        display: flex;
        align-items: center;

        .group-spec-list {
          display: flex;
          flex-wrap: wrap;
          padding-top: 18px;
        }

        .choice-specs-item {
          padding: 6Px 10Px;
          max-width: 270Px;
          white-space: nowrap;
          text-align: center;
          border-radius: 50px;
          margin-bottom: 24px;
          font-size: 26px;
          color: #333;
          background: #f8f8f8;
          margin-right: 16px;
          overflow: hidden;
          text-overflow: ellipsis;

          .price {
            font-family: Avenir;
          }
        }

        .on {
          background: #ffdd09;
        }

        .disabled {
          border: 1Px solid #f5f5f5;
        }
      }
    }
  }
}

.limit-detailBar {
  .choiceInfo {
    padding-bottom: 0 !important;
  }
}

.choice-num-box {
  margin-bottom: env(safe-area-inset-bottom);
}

.choice-num-box-limit {
  margin-bottom: calc(env(safe-area-inset-bottom) + 50Px) !important;
}

.choice-num {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 26px 0 26px;
  margin-bottom: 24px;

  .choice-num-title {
    font-size: 26px;
    color: #333;
    font-weight: bold;
  }
}

.limit-group-btn {
  .limited {
    background: #fb5229 !important;
  }
}

.group-sureBtn {
  border-top: none !important;

  .sureBtn {
    background-color: #ffdd09 !important;
    color: #000 !important;
    bottom: calc(env(safe-area-inset-bottom) + 40px) !important;
  }
}

.limit-group-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  width: 100%;

  .buy-btn {
    height: 46Px;
    width: 50%;
    background-color: $color-price;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 0 64px 64px 0;
    color: #fff;
    flex-direction: column;
  }

  .next {
    background-color: #ffdd09 !important;
    border-radius: 64px 0 0 64px !important;
    color: #000000 !important;
    flex-direction: column;
  }

  .goto-buy-btn {
    width: 50%;
    background-color: $color-price;
    height: 46Px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .limited {
    display: flex;
    align-items: center;
    flex-direction: column;
  }

  .limited {
    border-radius: 64px 0 0 64px;
    background: #fb5229;
  }

  .top {
    white-space: nowrap;
    font-size: 30px;
  }

  .bottom {
    font-size: 22px;
  }

  .dollar {
    font-size: 18px;
  }

  .true-price {
    font-size: 24px;
  }
}

.shopCarBox, .detailBar {
  .sureBtn {
    width: 80%;
    margin: auto;
    background: #ca0000;
    color: #fff;
    line-height: 100px;
    text-align: center;
    height: 80px;
    display: flex;;
    align-items: center;
    justify-content: center;
    position: sticky;
    left: 0;
    border-radius: 64px;
    bottom: 10px;
    font-size: 32px;
  }

  .disabled {
    opacity: 0.5;
  }


  ::-webkit-scrollbar {
    width: 0;
    height: 0;
    color: transparent;
  }

  .disabled {
    background: rgba(202, 0, 0, 0.72);
  }

  .zindex {
    z-index: 999 !important;
  }
}

.service-kefu {
  position: relative;
  top: -4px;
}

.capsules {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-end;

  .share, .limited {
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    height: 90px;
    width: 100%;
  }

  .share {
    border-radius: 64px 0 0 64px;
    background: #ffdd09;

    .top {
      color: #000;
    }

    .bottom {
      color: #464206;
    }
  }

  .limited {
    border-radius: 0 64px 64px 0;
    background: #fb5229;

    .top {
      white-space: nowrap;
      color: #fff;
    }

    .bottom {
      color: #fff;
    }
  }

  .top {
    font-size: 30px;
  }

  .bottom {
    font-size: 22px;
  }

  .dollar {
    font-size: 18px;
  }

  .true-price {
    font-size: 24px;
  }
}

.modal_concatWx {
  .at-modal__container {
    width: 564px !important;
    background: url("https://resource.ivcheng.com/upload/file/3ee90aa42ef5406780f223eae061a633.png") no-repeat;
    background-size: 564px 686px !important;
    text-align: center;
  }

  .at-modal__content {
    height: 295px !important;
    line-height: 295px !important;
  }

  .at-modal__footer:before {
    border: none !important;
  }

  .at-modal__header {
    font-size: 50px;
    font-weight: 800;
    height: 150px;
    line-height: 150px;
  }

  .at-modal__header:after {
    border: none !important;
  }
}

.modal_txt {
  padding-bottom: 60px !important;
  font-size: 26px !important;
  margin: 0 auto;
  font-weight: bold;
}

.isShowShareButtonFalse .singleLimited {
  border-radius: 64px !important;
}

.font-write {
  color: #fff;
}
